home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr36 / gapcdr6.zip / COMPILER.H < prev    next >
Text File  |  1993-04-19  |  2KB  |  61 lines

  1. /*
  2.    Copyright (C) 1988-1993 The GAP Development Company
  3.  
  4.    All Rights Reserved
  5.    
  6.    This source code is considered to be confidential information proprietary
  7.    to The GAP Development Company.  It is prohibited and punishable by law
  8.    to use or duplicate any part of this information.
  9.  
  10.    COMPILER.H
  11.  
  12.    Defines C compiler being used
  13.  
  14. */
  15.  
  16. //#define TC                              // use this for Turbo C (Borland C)
  17.  
  18. #define MSC                               // use this for Microsoft C
  19.  
  20. #ifdef TC
  21.       #define __pascal pascal
  22.       #define __near near
  23.       #define __far far
  24.  
  25.    #if (__BORLANDC__ < 0X0300)
  26.       #define _open open
  27.       #define _close close
  28.       #define _FP_SEG FP_SEG
  29.       #define _FP_OFF FP_OFF
  30.       #define __interrupt _interrupt
  31.       #define _REGS REGS
  32.       #define _cputs cputs
  33.       #define _outp outp
  34.       #define _inp inp
  35.       #define _ltoa ltoa
  36.       #define _int86 int86
  37.       #define _strlwr strlwr
  38.       #define _chdir chdir
  39.       #define _setdisk setdisk
  40.       #define _getdisk getdisk
  41.       #define _lseek lseek
  42.       #define _strdate strdate
  43.       #define _itoa itoa
  44.       #define _cputs cputs
  45.       #define _outp outp
  46.       #define _inp inp
  47.       #define _ltoa ltoa
  48.       #define _int86 int86
  49.       #define _strlwr strlwr
  50.       #define _chdir chdir
  51.       #define _lseek lseek
  52.       #define _strdate strdate
  53.       #define _itoa itoa
  54.       #define _setdisk setdisk
  55.       #define _getdisk getdisk
  56.       #define _lock lock
  57.       #define _unlock unlock
  58.       #define _getcwd getcwd
  59.    #endif
  60. #endif
  61.